package com.beamfield.dao.steelplant;

import com.beamfield.model.SteelplantRebar;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SteelplantRebarMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SteelplantRebar record);

    int insertSelective(SteelplantRebar record);

    SteelplantRebar selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SteelplantRebar record);

    int updateByPrimaryKeyWithBLOBs(SteelplantRebar record);

    int updateByPrimaryKey(SteelplantRebar record);

    SteelplantRebar selectBySuppliesId(@Param("id") String id);

    List<SteelplantRebar> selectList(@Param("offset") String offset,@Param("limit") String size);

    Integer selectAll (String type);

    Integer existSupplies_id(@Param("supplies_id") String suppliesId);

}